<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>积分管理-积分日志列表</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
	<jsp:include page="../../include/baseManage.jsp"></jsp:include>
  </head>
  <body>   
  	<div class="mini-toolbar" style="border:0;font-size:12px;padding-left:6px;"> 
        <!-- 操作面板 -->
        <div class="operatePanel">
	       	<input class="mini-button" text="清除选中日志" iconCls="icon-remove" plain="false" 
	       		onclick="IntegralLogHandler.delIntegralLog" visible="false" id="integrallog_list_del" />
	       	<input class="mini-button" text="条件清除日志" iconCls="icon-show-hourglass" plain="false" 
	       		onclick="IntegralLogHandler.showDelLogWin" visible="false" id="integrallog_list_conditiondel" />
	       	<input class="mini-button" text="展开查询" iconCls="icon-btn-expand" plain="false" 
	       		onclick="IntegralLogHandler.queryIntegralLog" visible="false" id="integrallog_list_query" />
	       	<input class="mini-button" text="刷新" iconCls="icon-btn-refresh" plain="false" 
	       		onclick="IntegralLogHandler.afresh" visible="false" id="integrallog_list_refresh" />
	    </div>
	    <!-- 查询面板 -->
	    <div id="queryIntegralLogDiv" class="queryPanel">
	    	<label class="queryPanelLbl">积分会员：</label>
	    	<input class="mini-textbox" id="bmbNick" style="width: 116px"/>
	    	<label class="queryPanelLbl">积分时间从：</label>
	    	<input class="mini-datepicker" id="lilTime_begin" format="yyyy-MM-dd HH:mm:ss" 
	    		showTime="true" style="width: 158px"/>
	    	<label class="queryPanelLbl">至：</label>
	    	<input class="mini-datepicker" id="lilTime_end" format="yyyy-MM-dd HH:mm:ss" 
	    		showTime="true" style="width: 158px"/>
	    	<input class="mini-button" text="查询" iconCls="icon-btn-search" plain="false" 
	    		onclick="IntegralLogHandler.doQueryIntegralLog"/>
	    </div>
    </div>
    <div class="mini-fit" id="integralLogPanel">
	    <div id="integralLogGrid" class="mini-datagrid" fitColumns="true" style="width:100%;height:100%;" 
	    	multiSelect="true" pageSize="20" borderStyle="border-bottom:0;border-left:0;border-right:0;"
	    	virtualScroll="true" idField="lilId" url="<%=path %>/getIntegralLogList.do">
	        <div property="columns">
	        	<div type="checkcolumn" ></div>
	            <div type="indexcolumn" width="40" headerAlign="center">序号</div>
	            <div field="lilMember" name="lilMember" width="0" headerAlign="center">会员ID</div>
	            <div field="bmbNick" name="bmbNick" width="150" headerAlign="center">积分会员</div>
	            <div field="lilIncrement" name="lilIncrement" width="150" headerAlign="center">消费增量（获得+、使用-）</div>
	            <div field="lilTime" name="lilTime" width="150" headerAlign="center" allowSort="true" align="center" dateFormat="yyyy-MM-dd HH:mm:ss">积分时间</div>
	            <div field="lilRemark" name="lilRemark" width="100%" headerAlign="center">备注</div>
	        </div>
	    </div>
    </div>  
  </body>
  <script src="handler/IntegralLogHandler.js" type="text/javascript"></script>
</html>
